package com.ncucoder.server.service;

import com.ncucoder.server.model.Order;

/**
 * OrderConstants service
 *
 * @author <a href="https://www.ncucoder.com">hsowan</a>
 * @since 2019-01-17 21:00
 */
public interface OrderService {

    /**
     *
     * @param order
     * @return
     */
    int saveOrUpdate(Order order);

    /**
     *
     * @param messageId
     * @return
     */
    Order getByMessageid(String messageId);
}
